home *** CD-ROM | disk | FTP | other *** search
- #include<hold/anim.h>
-
- /* 000 */ void array_control(void){
- /* 001 */ int ARY[5] = {12,14,15,16,17};
- /* 002 */ int index = 4;
- /* 003 */ int value = 4;
- a_func("array_control",0);
- a_irayini(ARY,"ARY",5,1);
- a_intini(index,"index",2);
- a_intini(value,"value",3);
- a_intass("index","4",4);
- a_intcomp("index > -1",4);
- /* 004 */ for(index=4;index>-1;index--){
- /* 005 */ value = ARY[index];
- a_intass("value","ARY[index]",5);
- a_intass("index","index-1",4);
- a_intcomp("index>-1",4);
- /* 006 */ }
- /* 007 */ ARY[4] = 13;
- a_intass("ARY[4]","13",7);
- a_endfunc("array_control",8);
- /* 007 */ }
-
-